﻿using System;
using System.Net;

namespace Toybox.NicoSharp
{
	using CookieGetterSharp;

	using Video;

	public abstract class AbstractTester
	{
		protected AbstractTester()
		{
			ICookieGetter iCookieGetter = CookieGetter.CreateInstance(BrowserType.GoogleChrome);

			NetworkState.Cookies = new CookieCollection();
			NetworkState.Cookies.Add(
				iCookieGetter.GetCookie(new Uri(NicoUrls.VideoTop), "user_session"));
		}
	}
}
